<template>
  <el-button v-bind="{ ...$props, ...$attrs }" v-on="$listeners"> <slot>按钮</slot></el-button>
</template>

<script>
export default {
  name: "ZButton",
  props: {
    type: {
      type: String,
      default: "primary",
    },
    size: {
      type: String,
      default: "small",
    },
  },
};
</script>

<style lang="scss" scoped></style>
